<template>
    <el-icon :color="color" :size="parseInt(size)">
        <component :is="icon" />
    </el-icon>
</template>

<script setup>

const { icon } = defineProps({
  icon: { type: String, required: true },
  size: { default: 14 },
  color: { default: 'inherit' },
})
</script>

<style lang="scss" scoped>
</style>